package com.cqq.print.base.dao.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.base.dao.domain.PPrice;
import com.cqq.print.base.dao.mapper.PPriceMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pPriceDao")
public class PPriceDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.base.dao.PPriceDao{

             @Autowired
             private PPriceMapper pPriceMapper;



    public int insert(PPrice record){
        return pPriceMapper.insert(record);
    }

    public int insertSelective(PPrice record){
        return pPriceMapper.insertSelective(record);
    }

	
	public PPrice getPPriceBeanByProPlanId(Integer proPlanId) {
		return pPriceMapper.getPPriceBeanByProPlanId(proPlanId);
	}

	
	public List<PPrice> queryPPriceBeanByProPlanIds(String proPlanIds) {
		return pPriceMapper.queryPPriceBeanByProPlanIds(proPlanIds);
	}



}